Resource URL: /platform/<<version=3>>/hardware/fcports/<port>

    Overview: This resource applies to manage one fibre-channel port

     Methods: GET, PUT

********************************************************************************

Method GET: Get one fibre-channel port

       URL: GET /platform/<<version=3>>/hardware/fcports/<port>

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "wwnn": {
      "type": "string", 
      "description": "World wide node name of the port"
    }, 
    "state": {
      "enum": [
        "enable", 
        "disable"
      ], 
      "type": "string", 
      "description": "State of the port"
    }, 
    "port": {
      "type": "string", 
      "description": "Port ID"
    }, 
    "rate": {
      "enum": [
        "auto", 
        "1", 
        "2", 
        "4", 
        "8"
      ], 
      "type": "string"
    }, 
    "wwpn": {
      "type": "string", 
      "description": "World wide port name of the port"
    }, 
    "id": {
      "type": "string", 
      "description": "The unique display id"
    }, 
    "topology": {
      "enum": [
        "auto", 
        "ptp", 
        "loop"
      ], 
      "type": "string"
    }
  }
}

********************************************************************************

Method PUT: Change wwnn, wwpn, state, topology, or rate of a FC port

       URL: PUT /platform/<<version=3>>/hardware/fcports/<port>

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "wwnn": {
      "type": "string", 
      "description": "World wide node name of the port"
    }, 
    "state": {
      "enum": [
        "enable", 
        "disable"
      ], 
      "type": "string", 
      "description": "State of the port"
    }, 
    "rate": {
      "enum": [
        "auto", 
        "1", 
        "2", 
        "4", 
        "8"
      ], 
      "type": "string"
    }, 
    "wwpn": {
      "type": "string", 
      "description": "World wide port name of the port"
    }, 
    "id": {
      "type": "string", 
      "description": "The unique display id"
    }, 
    "topology": {
      "enum": [
        "auto", 
        "ptp", 
        "loop"
      ], 
      "type": "string"
    }
  }
}

There is no response body for this method.
